package com.atguigu.cloud.service.impl;

import com.atguigu.cloud.service.PaymentHystrixService;
import org.springframework.stereotype.Component;

/**
 * @author lzw
 * @version 1.0
 * @date 2024/4/1 10:55
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_ok(Integer id) {
        return "失败paymentInfo_ok";
    }

    @Override
    public String paymentInfo_timeOut(Integer id) {
        return "失败paymentInfo_timeOut";
    }
}
